]> dgit.raspbian.org Git - gnome-shell.git/commit
workspacesView: Fix off-by-one error
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 8 Jan 2021 01:14:42 +0000 (02:14 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 26 Jan 2021 21:07:15 +0000 (22:07 +0100)
commit9f0e7632a6e1cb94bb9bf71002d548a8cbb2d558
tree97c36b351ce7a90ce4a7c934101a6ebe03ef4c56
parent74623479053fe10d43296fa18e6fe3733655c5e7
workspacesView: Fix off-by-one error

The scroll adjustment's upper value corresponds to the number of
workspaces, not to the last workspace index. We want the latter
when mirroring the layout in RTL locales, so subtract 1.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1598>
js/ui/workspacesView.js